package com.hqyj.service;

import com.hqyj.pojo.Exam;
import com.hqyj.pojo.Student;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;
import java.util.HashMap;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
 * @since 2021-11-15
 */
public interface IStudentService extends IService<Student> {
    //查询
    HashMap<String,Object> select(Student student);

    /**
     * 新增考试
     * */
    HashMap<String, Object> add(Student student);

    /**
     * 修改
     * */
    HashMap<String, Object> update(Student student);

    /**
     * 删除
     * */
    HashMap<String, Object> del(Integer studentId);

    /**
     * 导出Excel表
     * */
    void excelStudent(HttpServletResponse response);
}
